<?php
// 本类由系统自动生成，仅供测试用途
class ViewAction extends Action{
	
	public function _initialize(){
		$navs=array(
				array(
					'id'	=> 'index',
					'href'	=> U('Index/index'),
					'title'	=> '首页',
					'npage'	=> false,
					),
		);
		$this->assign("navs",$navs);		
	}
    public function people(){
		$user = M('User');
		$userinfo = $user->select();
		print_r($userinfo);
    }
	public function score(){
		$score = M('record');
		$scoreinfo = $score->select();
		print_r($scoreinfo);
	}
}
?>